package com.xkdx.guangguang.broadcastreceiver;

import java.io.File;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class AppInstallReceiver extends BroadcastReceiver {

	@Override
	public void onReceive(Context context, Intent intent) {
		if (intent.getAction().equals(Intent.ACTION_PACKAGE_ADDED)) {
			
		}
		
		if (intent.getAction().equals(Intent.ACTION_PACKAGE_REMOVED)) {
			
		}
		
		if (intent.getAction().equals(Intent.ACTION_PACKAGE_REPLACED)) {
//			File dir = new File(context.getFilesDir()+"/brand.db");
//			if (dir.exists()) {
//				dir.delete();
//			}

		}

	}

}
